package com.ffe.flower.engine.service;

import java.util.List;

import com.ffe.flower.engine.constant.AuditStatus;
import com.ffe.flower.engine.model.FlowStateDetail;
import com.ffe.flower.engine.wrapper.FlowStateWrapper;

public interface IFlowStateDetailService {

  List<FlowStateWrapper> getWholeFlowState(Integer flowId);

  FlowStateDetail add(FlowStateDetail flowState);

  FlowStateDetail get(Integer stateId);

  FlowStateDetail create(Integer flowId, Enum<?> flowState);

  FlowStateDetail complete(Integer curFlowId, AuditStatus auditStatus, String auditorId, boolean auditorAgent,
      String remark);

}
